#ifndef TRANSFERWINDOW_H
#define TRANSFERWINDOW_H

#include <QAbstractItemView>
#include <QFileDialog>
#include <QFileInfo>
#include <QMainWindow>
#include <QHBoxLayout>
#include <QHeaderView>
#include <QLabel>
#include <QPushButton>
#include <QStackedWidget>
#include <QTableWidget>
#include <QTableWidgetItem>
#include <QVBoxLayout>

#include "auxiliary_function.h"

class TransferWindow : public QWidget {

    Q_OBJECT

public:
    explicit TransferWindow ();
    ~TransferWindow ();

private:
    QTableWidget *fileTable;
    QTableWidget *deviceTable;
    QStackedWidget *stack;
    QPushButton *switchButton;

    bool isShowFileTable;
    bool isFileSelected;

    void CreateMainWindow();
    void SetWidgets();

private slots:
    void SlotAddFile();
    void SlotSwitch();
};

#endif // TRANSFERWINDOW_H
